{block name="footer_badge"} {assign var="devEnvironmentFile" value="`$smarty.const.DIR_FS_CATALOG`.dev-environment"} {if file_exists($devEnvironmentFile)} {else} {/if} {$smarty.block.parent} {/block}